package cn.buk.tms.eotms.service;

import cn.buk.tms.eotms.dao.BasicDataDao;
import cn.buk.tms.eotms.entity.Airport;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 *
 * @author yfdai
 * @date 16/10/31
 */
@Service
public class BasicDataServiceImpl implements BasicDataService {

    @Autowired
    private BasicDataDao basicDataDao;


    @Override
    public Airport getAirportByCode(String threeCode) {
        return basicDataDao.getAirport(threeCode);
    }

}
